package com.wits.qso.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.wits.platform.web.controller.BaseController;

@Controller
@RequestMapping(value = "qso/openWin")
public class OpenWinController extends BaseController {
	
	
	/**
	 * 
	 * @param model
	 * @param contentType 显示的提示内容类型：1.老师上课；2.老师下课；3.老师问题答疑
	 * @return
	 */
	@RequestMapping(value="/openWin/{contentType}")
	public String openWin(Model model,@PathVariable String contentType){
		model.addAttribute("contentType", contentType);
		return "qso/openWin/openWin";
	}
	
	@RequestMapping(value="/alertStartClass")
	public String alertStartClass(Model model){
		return "qso/alertInfo/alertStartClass";
	}
}
